home *** CD-ROM | disk | FTP | other *** search
- // -----
- // VDL169.txt
- // Copyright 1996 Claris
- // -----
-
-
- //License Dialog
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
-
- //This section contains all localizable string constants for this VDL program. Be sure to
- //include the backslash character at the end of each line of a multi-line string, except for the last line.
- //You may also flatten multiline constants into a single line, if you prefer
-
- #define kLit1 "WARNING! This is pre-release software."
- #define kLit2 "Please read the License Agreement below, and click Agree if you"\
- " accept it. You cannot use Claris Home Page without accepting this"\
- " License."
- #define kLit3 "Disagree"
- #define kLit4 "&Disagree"
- #define kLit5 "Agree"
-
-
- //Localized Fonts
-
- #if Platform_Mac
- #define AboutFont Font = {Times, 14, {Plain}}
- #define LicenseTextFont Font = {Times, 12, {Plain}}
- #else
- #define AboutFont Font = {Arial, 12, {Plain}}
- #define LicenseTextFont Font = SystemFont
- #endif
-
-
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
-
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
-
- //This section contains integer constants that are used to format this VDL program.
- //These are localizable - they only need to be changed if the localized strings
- //are sufficiently longer than the US strings. Localize the strings first, then the constants.
-
- //Width of the buttons on the bottom of the dialog
- #define kButtonWidth 75
-
- //The base value to calculate the width of the dialog itself
- #define kDialogMainWidth 400
-
- //Height of the license text area. Width is taken from the dialog width.
- #define kLicenseTextHeight 200
-
- #define kMainStaticTextWidth 400
-
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
-
- //No further localizable data past this point
-
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
-
-
- Margin(10, 10, 10, 10)
- VList()
- {
- StaticText(kLit1, Width = kMainStaticTextWidth,AboutFont);
- StaticText(kLit2, Width = kDialogMainWidth,AboutFont);
-
- Spacer(Height = 10, Width = 0);
- #if Platform_Win
- Margin(0,0,1,0, BackColor = Black)
- #endif
- VList(VScroll, BackColor = White, Height = kLicenseTextHeight)
- StaticText(licenseString, Width = kDialogMainWidth, LicenseTextFont);
-
- Spacer(Height = 10, Width = 0);
- HList(Width = UseParent)
- {
- Spacer(Height = 0, Width = UseParent);
- #if Platform_Mac
- CancelButton(kLit3, 1070, "None", Width = kButtonWidth, ExtraCommand = 314);
- #else
- CancelButton(kLit4, 1070, "None", Width = kButtonWidth);
- #endif
-
- Spacer(Height = 0, Width = 10);
- FramedButton(kLit5, 1071, "None", Width = kButtonWidth);
- }
- } // Main List
-
-